(SST) ShlWAPI.pas Version 1.08

Developer Reference
(SST)ShlWAPI SHRegGetPath Function
Does something.
Information X
OK
 
Sorry, this page is still under construction!
We are currently still in the process of designing and completing this page. However, we've completed many other pages.
To avoid opening pages in various stages prior to completion inadvertently, please refer to the Title Index page.
Scope
Global (i.e. this function can be called/accessed from code in any unit that includes/uses (SST)ShlWAPI.pas).
Syntax
function SHRegGetPath(keyh : HKEY; pcszSubKey : LPCSTR; pszPath : LPSTR; dwFlags : DWORD) : LSTATUS;
Parameters
keyh [in]  
pcszSubKey [in]  
pszPath [out]  
dwFlags Reserved.
Return Values
Always returns 0.  
Remarks
Contrary to the documentation, which states that the function is supported as of ShlWAPI.dll version 5.0 under all version 4 and later Windows OS (including the 9x series and NT 4.0), it is not exported by name prior to Windows 2000, and info. on an ordinal, by means of which the it can be accessed otherwise, seems not to have been provided. Furthermore, the function prototype is declared without any version requirement (i.e. no "#if () ... #endif"), which should normally mean that the function is supported as of ShlWAPI.dll version 4.71.
Remark 2.
Example
Sample code
Requirements
Unit: Declared and imported in (SST)ShlWAPI.pas
Library: (SST)ShlWAPI.dcu/(SST)ShlWAPI.obj
Unicode: Implemented as ANSI (SHRegGetPath and SHRegGetPathA) and Unicode (SHRegGetPathW) functions.
Min. ShlWAPI.dll version according to MS SDK doc.: 5.0
Min. ShlWAPI.dll version based on SST research: 5.0
Min. OS version(s) according to Microsoft SDK doc.: Windows NT 4.0 with IE 5, Windows 98, Windows 95 with IE 5, Windows 2000
Min. OS version(s) according to SST research.: Windows 2000 and later.
See Also
TSSTNewClass.Create, SSTNewUnit, SHDeleteValue, SHEnumValue, SHGetValue, SHRegDeleteUSValue, SHRegEnumUSValue, SHRegGetBoolUSValue, SHRegGetUSValue, SHRegGetValue, SHRegQueryUSValue, SHRegSetUSValue, SHRegWriteUSValue, SHSetValue
 
Windows APIs: GetLastError, SetLastError SHRegGetBoolUSValue, SHRegEnumUSValue, SHDeleteValue, SHEnumValue, SHGetValue, SHQueryValueEx, SHRegDeleteUSValue, SHRegGetUSValue, SHRegGetValue, SHRegQueryUSValue, SHRegSetUSValue, SHRegWriteUSValue, SHSetValue


Document/Contents version 1.00
Page/URI last updated on 07.12.2023
 
Copyright © Stoelzel Software Technologie (SST) 2010 - 2015
Suggestions and comments mail to:
webmaster@stoelzelsoftwaretech.com